package factory;

import operation.*;
import interfac.OrderOperation;

public class OrderOperationFactory {
    public static OrderOperation getOperation(int choice) {
        switch (choice) {
            case 1:
                return new AddOrdersOperation();
            case 2:
                return new AddStockOperatioon();
            case 3:
                return new UpdateOrderStatusOperation();
            case 4:
                return new ShowOrdersOperation();
            case 7:
                return new ShowDailyReportOparetion();
            default:
                return null;
        }
    }
}